

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class TicketStatus
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _TicketStatusNameEN ="";
public System.String TicketStatusNameEN
{
get { return _TicketStatusNameEN;}
set { _TicketStatusNameEN = value;}
}
System.String _TicketStatusNameAR ="";
public System.String TicketStatusNameAR
{
get { return _TicketStatusNameAR;}
set { _TicketStatusNameAR = value;}
}
public TicketStatus()
{
}
public TicketStatus(System.String __TicketStatusNameEN,System.String __TicketStatusNameAR)
{
_TicketStatusNameEN = __TicketStatusNameEN;
_TicketStatusNameAR = __TicketStatusNameAR;
}
public TicketStatus(System.Int64 __ID,System.String __TicketStatusNameEN,System.String __TicketStatusNameAR)
{
_ID = __ID;
_TicketStatusNameEN = __TicketStatusNameEN;
_TicketStatusNameAR = __TicketStatusNameAR;
}


             public override bool Equals(object obj)
         {
             if (obj is TicketStatus)
             {
                 TicketStatus newObj = (TicketStatus)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
